package com.example.demospringboot.batch.processor;

import org.springframework.batch.item.validator.ValidatingItemProcessor;
import org.springframework.batch.item.validator.ValidationException;

import com.example.demospringboot.entity.User;

public class BeanItemProcesser extends ValidatingItemProcessor<User>{

	@Override
	public User process(User user) throws ValidationException {
		System.out.println("开始数据校验处理");
		super.process(user);
		return user;
	}
	
	

}
